package Util;

/**
 *
 * @author Александр
 */
public class TimeStamp extends Object
{
	private String name = "";
	private long start;

	public TimeStamp(String name)
	{
		this.name = name;
		start = System.currentTimeMillis();
	}

	public void show()
	{
		System.out.println("Timestamp for "+name+": "+(System.currentTimeMillis() - start)+" ms.");
	}
}
